package liangtWorkSpace.proxy.cglib.aop;

/**
 * @ClassName HelloWorld
 * @Description : 功能说明
 * @Author : LiangT
 * @Date : 2020/4/12 12:45
 */
public class HelloWorld {

    public String say(boolean say) throws Exception {
        System.out.println("Hello Student");
        if(!say) {
            throw new Exception("回答错误！");
        }
        return "回答正确!";
    }
}
